home *** CD-ROM | disk | FTP | other *** search
- Path: news.th-darmstadt.de!news
- From: Enno Sandner <enno@intellektik.informatik.th-darmstadt.de>
- Newsgroups: comp.lang.c++
- Subject: Re: Dereferencing ptrs to ptrs
- Date: Mon, 15 Jan 1996 09:40:01 +0100
- Organization: Fachbereich Informatik, TH Darmstadt
- Message-ID: <30FA12E1.167EB0E7@intellektik.informatik.th-darmstadt.de>
- References: <4dcq0g$k17@canb.cin.gov.au>
- NNTP-Posting-Host: kitz.intellektik.informatik.th-darmstadt.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4 (X11; I; SunOS 4.1.3 sun4m)
-
- Christopher Walkden wrote:
- >
- > How do you dereference a pointer pointer?
- >
- > TDecoratedFrame **frame;
- >
- > Value = *(frame)->Attr.X;
- > didn't work, so I had to create a dummy.
- >
- > TDecoratedFrame *dummy = *frame;
- > Value = dummy->Attr.X;
- >
- > Is there a more elegant way?
- >
-
- Elegant ? I don't know -- Anyway '(*frame)->Attr.X' could work.
-
- Enno
-